package cn.kpi.service.loan;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kpi.entity.loan.LoanUserEntity;
import cn.kpi.entity.loan.LoanUserListEntity;

public interface ILoanUserService {
public int InsertLoanUser(LoanUserEntity entity)throws Exception;
public List<LoanUserListEntity> GetUserLoanList(String where,String realname)throws Exception;
public int GetUserLoanListCount(String where,String realname)throws Exception;
public int UpdateLoanUser(Long loanid,Long loanorgid,String loandes,int status,Long userid,Long gdbyuserid)throws Exception;
public int UpdateLoanUserJs(Long loanid,String loandes,int status,Long userid,Long gdbyuserid,Long loanorgid)throws Exception;

public LoanUserListEntity GetUserLoanByLoanid(Long loanid)throws Exception;
public int UpdateLoanUserEntity(LoanUserEntity entity)throws Exception;

public int DeleteUserLoan(Long loanid)throws Exception;

public List<LoanUserListEntity> GetUserLoanListDq(String where)throws Exception;

public int LoanTask()throws Exception;

}
